/**
 * 
 */
package cc.rico.utils.es.bean;

import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @author JiWo 2016年7月27日
 *
 */
@Document(indexName="bank", type="account")
public class Bank {
	private int id;
	private int accountNumber;
	private int balance;
	private String firstname;
	private String lastname;
	private int age;
	private String gender;
	private String address;
	private String employer;
	private String email;
	private String city;
	private String state;
	
	public Bank() {
		
	}
	
	@Override
	public String toString() {
		return "Bank={"
				+ "id=" + id
				+ ", accountNumber=" + accountNumber
				+ ", balance=" + balance
				+ ", firstname=" + firstname 
				+ ", address=" +address
				+ ", employer=" +employer 
				+ ", email=" +email 
				+ ", city=" +city 
				+ ", state=" +state 
				+ "}";
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getAccountNumber() {
		return accountNumber;
	}

	public void setAccountNumber(int accountNumber) {
		this.accountNumber = accountNumber;
	}

	public int getBalance() {
		return balance;
	}

	public void setBalance(int balance) {
		this.balance = balance;
	}

	public String getFirstname() {
		return firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getLastname() {
		return lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmployer() {
		return employer;
	}

	public void setEmployer(String employer) {
		this.employer = employer;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
}
